#pragma once

namespace Renderer
{
	class VertexLocations
	{
	public:
		const static int GetPosition() { return 0; }
		const static int GetNormal() { return 2; }
		const static int GetTextureCoordinate() { return 3; }
		const static int GetColor() { return 4; }

		//
		// Having Position and PositionHigh share the same location
		// allows different shaders to share the same vertex array,
		// even if one is using DSFUN90 and one is not.
		//
		// FYI There is/was an ATI bug where location was required:
		//
		// http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=286280
		//
		const static int GetPositionHigh(){ return GetPosition(); }
		const static int GetPositionLow(){ return 1; }
	};
}